﻿using B.S.RbacData.ErrorCode;
using MediatR;

namespace B.S.RbacData.Write.API.Applications.Commands.Traceabilitys
{
    /// <summary>
    /// 添加图片命令
    /// </summary>
    public class AddImgsCommand:IRequest<ApiResult<int>>
    {

        /// <summary>
        /// 图片类型
        /// </summary>
        public string? ImgType { get; set; } = null!;


        /// <summary>
        /// 图片名称
        /// </summary>
        public string? ImgName { get; set; } = null!;
        /// <summary>
        /// 图片虚拟路径
        /// </summary>

        public string? ImgUrl { get; set; } = null!;


        /// <summary>
        /// 溯源产品编号
        /// </summary>
        public int ProductId { get; set; }


    }
}
